package com.aigis.big4.tmp.javase.collection.map;

import java.util.*;

public class CollectionsTest {
    public static void main(String[] args){
        Collection c= Collections.synchronizedCollection(new ArrayList<>());
        List list=Collections.synchronizedList(new ArrayList<>());
        Set set=Collections.synchronizedSet(new HashSet<>());
        Map map=Collections.synchronizedMap(new HashMap<>());
        map.put("java","100");
        map.put("c","200");
        map.put("js","500");
        map.put("python","90");
        System.out.println(map);

    }
}
